package com.boss.salary.dao;

import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.BaseData;
import com.boss.salary.vo.FinancialAuditVO;

import java.util.List;
import java.util.Map;

public interface IFinancialAuditDao {

    /**
     * 查询单位审核分页数据
     * @param paginationDTO
     * @param queryParam
     * @return
     */
    List<Map<String,Object>> queryFinancialAuditPage(PaginationDTO paginationDTO, Map<String, Object> queryParam, List<String> wheresql, List<String> childrenId,List<BaseData> baseDatas);

    /**
     * 查询单位审核分页数据总数
     * @param queryParam
     * @return
     */
    int queryFinancialAuditTotal(Map<String, Object> queryParam,  List<String> wheresql,List<String> childrenId);

    /**
     * 列表合计
     * @param queryParam
     * @return
     */
    FinancialAuditVO queryFinancialAuditDataTotal(Map<String, Object> queryParam, List<String> bizKeys, List<String> childrenId);

    /**
     * 通过预警金额查询超过预警金额的人员信息
     * @param agencyId
     * @param ctrlNum
     * @return
     */
    List<Map<String,Object>> getPayMoneyControlWarningMessage(String agencyId,Double ctrlNum);
}
